<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>Comment</title>
		<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
		<meta name="generator" content="plog on GAE" />
		<link rel="stylesheet" type="text/css" href="{{ theme.dir }}/commentdivstyle.css" />
		<script type="text/javascript" src="/scripts/jquery.js"></script>
		<script type="text/javascript" src="/scripts/thickbox.js"></script>
	</head>
	<body>
<div id="comments">
{% for comment in comments %}
<div class="comment" id="c{{ comment.key.id }}">
	<div class="entry">{{ comment.content|escape|linebreaksbr }}</div>
	<p class="meta">
	{% ifequal comment.author self.login_user %}
	<span class="fakelink" onclick="DeleteComment('{{ comment.key.id }}')">Delete</span>
	<!-- | Edit -->
	{% else %}
	{% if self.is_admin %}
	<span class="fakelink" onclick="DeleteComment('{{ comment.key.id }}')">Delete</span>
	<!-- | Edit -->
	{% endif %}
	{% endifequal %}
	<span class="date"> {{ comment.date|timezone:8|date:"Y-m-d H:i:s" }}</span>
	by <span class="author">{{ comment.author_with_url }}</span>
	</p>
</div>
---------------------------
{% endfor %}

</div>
	</body>
</html>

